﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace ERPStore.Models
{
	public class LeadSourceStatItem
	{
		public LeadSourceStatItem()
		{

		}
		/// <summary>
		/// Identifiant unique de la stat
		/// </summary>
		/// <value>The id.</value>
		[DataMember]
		public string Id { get; set; }
		/// <summary>
		/// Nom de la source
		/// </summary>
		/// <value>The code.</value>
		[DataMember]
		public string Name { get; set; }
		/// <summary>
		/// Description de la source
		/// </summary>
		/// <value>The title.</value>
		[DataMember]
		public string Description { get; set; }
		/// <summary>
		/// Nombre d'impressions dans les listes
		/// </summary>
		/// <value>The print count in list.</value>
		[DataMember]
		public int PrintCount { get; set; }
		/// <summary>
		/// Nombre de visites.
		/// </summary>
		/// <value>The visit count.</value>
		[DataMember]
		public int VisitedCount { get; set; }
		/// <summary>
		/// Nombre de visiteurs.
		/// </summary>
		/// <value>The visit count.</value>
		[DataMember]
		public int VisitorCount { get; set; }
		/// <summary>
		/// Nombre d'ajout au panier.
		/// </summary>
		/// <value>The cart count.</value>
		[DataMember]
		public int CartCount { get; set; }
		/// <summary>
		///  Nombre de commandes.
		/// </summary>
		/// <value>The order count.</value>
		[DataMember]
		public int OrderCount { get; set; }
		/// <summary>
		/// Nombre de clicks externes
		/// </summary>
		/// <value>The click count.</value>
		[DataMember]
		public int ClickCount { get; set; }
		/// <summary>
		/// Nombre de clicks payants 
		/// </summary>
		[DataMember]
		public int ClickPaidCount { get; set; }
		/// <summary>
		/// Nombre de produits bannis
		/// </summary>
		[DataMember]
		public int BanishmentCount { get; set; }
		/// <summary>
		/// Nombre de produits actifs dans le flux
		/// </summary>
		[DataMember]
		public int ProductCount { get; set; }
		/// <summary>
		/// Date de la dernière mise à jour du flux
		/// </summary>
		[DataMember]
		public DateTime? LastUpdateCatalog { get; set; }
		/// <summary>
		/// Total Achat
		/// </summary>
		[DataMember]
		public decimal SaleTotal { get; set; }
		/// <summary>
		/// Total Achat
		/// </summary>
		[DataMember]
		public decimal PurchaseTotal { get; set; }
		/// <summary>
		/// Balance (Vente - Achat)
		/// </summary>
		[DataMember]
		public decimal Balance { get; set; }
	}
}
